import './index.scss';
import CONSTANT from '@/common/constants.js';
import http from '@/common/http.js';
import navBottom from '../common/nav-bottom.vue'
import Swiper from 'vux/src/components/swiper/swiper.vue'
import SwiperItem from 'vux/src/components/swiper/swiper-item.vue'

export default {
  name: 'findhome',
  components: {
    Swiper,
    SwiperItem,
    navBottom
  },
  data () {
    return {
      index: 0,
      imglist: [{id: "", carouselStatus: "", carouselUrl: "", carouselPicUrl: ""}, {
        id: "",
        carouselStatus: "",
        carouselUrl: "",
        carouselPicUrl: ""
      }],
    }
  },
  mounted () {
    http.post(CONSTANT.LUNBO_LIST, {}, (res) => {
      console.log(res)
      this.imglist = res.list
    })
  },
  methods: {
    comeBack () {
      window.history.back()
    }
  }
}
